home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5951 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.0 KB

  1. Path: news1.halcyon.com!coho!jars
  2. From: jars@coho.halcyon.com (Juan Rodriguez)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: MSVC linker error L5000
  5. Date: 7 Feb 1996 16:37:46 GMT
  6. Organization: Northwest Nexus, Inc. - Professional Internet Services
  7. Message-ID: <4fakgq$cbf@news1.halcyon.com>
  8. References: <4f6p3a$sj0@lantana.singnet.com.sg>
  9. NNTP-Posting-Host: coho.halcyon.com
  10.  
  11. In article <4f6p3a$sj0@lantana.singnet.com.sg>,
  12. Benjamin Har  <benjamin@pacific.net.sg> wrote:
  13. >Encountered the an undocumented linker error L5000 while
  14. >using MSVC++ 1.5. The complete text reads:
  15. >LINK : fatal error L5000 : internal error - access violation
  16. > LINK returned error code 216
  17. >Happened during porting of C source to C++. 
  18. >Any feedback welcomed. Thanks!
  19.  
  20. If you have access to the MSDN CD ROM, or to the Microsoft page on the web,
  21. read article Q102920. Among other things, it says some of the causes of
  22. this problem were fixed in version 5.60.339 of the 16 bit linker, shipped
  23. with versions 1.52 and later (1.52b and 1.52c). It also suggests some work-
  24. arounds which may work with previous version:
  25.  - Link without the /CO option if the application doesn't need to be debugged.
  26.  - Link with the /CO:NOCVPACK option and then run CVPACK separately.
  27.  - Reduce the amount of CodeView information by compiling only essential
  28.    modules with the /Zi option, and the rest with the /Zd option.
  29.  - Avoid linking OLDNAMES.LIB last.
  30.  - If using the /LI linker option, remove it.
  31.  - Assign the TMP environment variable a valid hard drive and directory with
  32.    a large amount of disk space (preferably not a RAM drive).
  33.  
  34. Good luck!
  35.  
  36.  
  37.  
  38. Juan Antonio Rodriguez-Sero; jars@halcyon.com;
  39. Lake Forest Park, WA 98155-2940, USA
  40. --------------------------------------------------------------------------
  41. More than any other time in history, mankind faces a crossroads. One path
  42. leads to despair and utter hopelessness. The other, to total extinction.
  43. Let us pray we have the wisdom to choose correctly.
  44.                                  Woody Allen, "My speech to the graduates" 
  45.